package com.ashes.oppo.po;

import com.ashes.oppo.base.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author chengxuhui
 */
@Data
public class SysAshesMsgPO extends BaseEntity implements Serializable  {

    @ApiModelProperty(value = "留言ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal messageId;

    @ApiModelProperty(value = "用户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal userId;

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "用户类型")
    private String userType;

    @ApiModelProperty(value = "留言类型")
    private String msgType;

    @ApiModelProperty(value = "留言信息")
    private String messageText;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

}
